#ifndef D_DRAWRECTANGLEELEMENT_H
#define D_DRAWRECTANGLEELEMENT_H

#include <wx/gdicmn.h>
#include "D-DrawBaseElement.h"

class wxClientDC;
class wxDC;
class wxPoint;
class wxSize;

class D_DrawRectangleElement : public D_DrawBaseElement{
	public:		
	D_DrawRectangleElement(wxPoint* position);
	D_DrawRectangleElement();
	virtual ~D_DrawRectangleElement();
	virtual unsigned char* ToByteBuffer(int& buffer_length);
	virtual void Render(wxDC* dc, wxPoint* offset);	
	virtual void FromByteBuffer(unsigned char* buffer, int buffer_length);
	virtual void SetZBuffer(int depth);
	virtual int GetZBuffer();
	virtual wxPoint* GetPosition();
	virtual void SetPosition(wxPoint position);
	virtual wxSize* GetSize();
	virtual void SetSize(wxSize size);
	virtual D_DrawBaseElement* Clone();
	virtual wxPoint* EncapsulatePoint(wxPoint* point);
	};
#endif